import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JList;
import javax.swing.JComboBox;
import javax.swing.JButton;
import javax.swing.ImageIcon;
import javax.swing.SwingConstants;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import java.awt.Font;
import javax.swing.border.TitledBorder;



public class Main extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Main frame = new Main();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Main() {
		
		try {
			UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 550, 239);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBorder(new TitledBorder(null, "", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel.setBounds(136, 8, 381, 183);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("Pit");
		lblNewLabel.setBounds(14, 21, 46, 14);
		panel.add(lblNewLabel);
		
		JLabel lblNewLabel_1 = new JLabel("Projeto");
		lblNewLabel_1.setBounds(130, 21, 46, 14);
		panel.add(lblNewLabel_1);
		
		textField = new JTextField();
		textField.setBounds(34, 18, 86, 26);
		panel.add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(171, 18, 193, 26);
		panel.add(textField_1);
		textField_1.setColumns(10);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(74, 51, 184, 26);
		panel.add(comboBox);
		
		JLabel lblTemplate = new JLabel("Template");
		lblTemplate.setBounds(14, 57, 58, 14);
		panel.add(lblTemplate);
		
		JLabel lblSalvarEm = new JLabel("Salvar em");
		lblSalvarEm.setBounds(14, 96, 58, 14);
		panel.add(lblSalvarEm);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setBounds(74, 90, 184, 26);
		panel.add(comboBox_1);
		
		JButton button = new JButton("+");
		button.setBounds(262, 90, 36, 26);
		panel.add(button);
		button.setFont(new Font("SansSerif", Font.BOLD, 13));
		
		JButton btnNewButton = new JButton("Criar");
		btnNewButton.setBounds(248, 136, 89, 28);
		panel.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("Cancelar");
		btnNewButton_1.setBounds(147, 136, 89, 28);
		panel.add(btnNewButton_1);
		
		JButton btnNewButton_2 = new JButton("Pref");
		btnNewButton_2.setIcon(new ImageIcon("assets/images/086.png"));
		btnNewButton_2.setBounds(45, 137, 89, 26);
		panel.add(btnNewButton_2);
		
		JLabel lblNewLabel_2 = new JLabel("");
		lblNewLabel_2.setIcon(new ImageIcon("assets/images/folder.png"));
		lblNewLabel_2.setBounds(6, 33, 118, 116);
		contentPane.add(lblNewLabel_2);
	}
}
